﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Diagnostics;

namespace TeamReview.Settings
{
  [Serializable]
  public class TeamReviewSettings
  {
    private List<WindowSetting> windowSettings;
    private List<TeamSetting> teamSettings;
    private string version = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).FileVersion;
     

    public List<WindowSetting> WindowSettings
    {
      get {
        if (windowSettings == null)
          windowSettings = new List<WindowSetting>();

        return windowSettings; 
      }
      set { windowSettings = value; }
    }

    public List<TeamSetting> TeamSettings
    {
      get {
        if (teamSettings == null)
          teamSettings = new List<TeamSetting>();

        return teamSettings; 
      }
      set { teamSettings = value; }
    }

    public String Version
    {
      get { return version; }
      set { version = value; }
    }
  }
}
